﻿@model string
<div class="left-box">
    <div class="head-box">
        <div class="img-box">
            <img v-if="account&&account.avatar" :src="common.loadFile(account.avatar)">
            <span v-else class="icon iconfont icon-user-full"></span>
        </div>
        <div class="info">
            <a href="/account/setting/password" class="text">修改密码</a>
            <span class="text" @@click="common.logout()">退出登录</span>
        </div>
    </div>
    <div class="menu-box">
        <a href="/account/contribute/list" class="item-box @(Model=="contribute"?"active":"")">
            <span class="icon iconfont icon-edit"></span>
            <span>我的投稿</span>
        </a>
        <a href="/account/balance/list" class="item-box @(Model=="balance"?"active":"")">
            <span class="icon iconfont icon-amount"></span>
            <span>我的余额</span>
        </a>
        <a href="/account/setting/info" class="item-box @(Model=="setting"?"active":"")">
            <span class="icon iconfont icon-info"></span>
            <span>账户管理</span>
        </a>
    </div>
</div>